// 常规图标颜色（顺序选取）
export const CHART_COLOR = ['#5470C6', '#91CC75', '#FAC858', '#EE6666', '#73C0DE', '#3BA272', '#FC8452', '#9A60B4']
export const CHART_GRADIENT = [
  'rgba(84,112,198,0.25)',
  'rgba(145,204,117,0.25)',
  'rgba(250,200,88,0.25)',
  'rgba(238,102,102,0.25)',
  'rgba(115,192,222,0.25)',
  'rgba(59,162,114,0.25)',
  'rgba(252,132,82,0.25)',
  'rgba(154,96,180,0.25)',
]
// 排名图、横向柱状图
export const RANK_BAR_ACTIVE_COLOR = 'linear-gradient(90deg, #73c0de, #5470c6)'
export const RANK_BAR_DEFAULT_COLOR = '#363C41'

// 分页按钮
export const CHART_PAGINATION_DEFAULT_COLOR = '#363C41'
export const CHART_PAGINATION_ACTIVE_COLOR = '#6BA952'

// 威胁级别 低危、中危、高危、危急 ----->>>
export const THREAT_LEVEL_COLOR = ['#1CC2C1', '#FAC858', '#FC8452', '#EE6666', window?.theme?.chart?.offline || '#56687C']
export const THREAT_LEVEL_COLOR_MAP = {
  低危: '#1CC2C1',
  中危: '#FAC858',
  高危: '#FC8452',
  危急: '#EE6666',
  未定义: window?.theme?.chart?.offline || '#56687C'
}


// 资产在线状态 在线 离线
export const ONLINE_COLOR = ['#5470C6', window?.theme?.chart?.offline || '#56687C', '#91CC75']
export const ONLINE_COLOR_MAP = {
  在线: '#5470C6',
  离线: window?.theme?.chart?.offline || '#56687C',
  其他: '#91CC75',
}

// 基线概况 不合规项 极限检查项
export const BASELINE_COLOR = ['#EE6666', '#5470C6']